package com.ruoyi.ymapp.banner.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 首页轮播图对象 ym_image
 * 
 * @author Lu.F
 * @date 2022-11-10
 */
public class YmImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增id */
    private Long id;

    /** 图片标题 */
    @Excel(name = "图片标题")
    private String ititle;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String iurl;

    /** 图片类型 0：注册页面轮播图 1：产品轮播图等 */
    @Excel(name = "图片类型 0：注册页面轮播图 1：产品轮播图等")
    private String itype;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String imsg;

    /** 图片状态 1：可用 0：禁用 */
    @Excel(name = "图片状态 1：可用 0：禁用")
    private Integer istate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setItitle(String ititle) 
    {
        this.ititle = ititle;
    }

    public String getItitle() 
    {
        return ititle;
    }
    public void setIurl(String iurl) 
    {
        this.iurl = iurl;
    }

    public String getIurl() 
    {
        return iurl;
    }
    public void setItype(String itype) 
    {
        this.itype = itype;
    }

    public String getItype() 
    {
        return itype;
    }
    public void setImsg(String imsg) 
    {
        this.imsg = imsg;
    }

    public String getImsg() 
    {
        return imsg;
    }
    public void setIstate(Integer istate) 
    {
        this.istate = istate;
    }

    public Integer getIstate() 
    {
        return istate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ititle", getItitle())
            .append("iurl", getIurl())
            .append("itype", getItype())
            .append("imsg", getImsg())
            .append("istate", getIstate())
            .toString();
    }
}
